package com.glsc.ngateway.common.base.domain.mysql.opmanage.report.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Data
@Entity
@Table(name = "t_gltb_sub_fund_list")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
@IdClass(GltbSubFundListId.class)
public class GltbSubFundList {
    @Id
    @Column(name="fc_master_fundname")
    @ExcelProperty("母基金名称")
    private String masterFundname;

    @Id
    @Column(name="fc_sub_fundname")
    @ExcelProperty("子基金名称")
    private String subFundname;

    @Column(name="fc_sub_fundtype")
    @ExcelProperty("子基金产品类别")
    private String subFundtype;

    @Column(name="fc_record_date")
    @ExcelProperty("基协备案日期")
    private String recordDate;

    @Column(name="fc_subscription")
    @ExcelProperty("基金总规模（万元）-认缴")
    private String subscription;

    @Column(name="fc_paid_in")
    @ExcelProperty("基金总规模（万元）-实缴")
    private String paidIn;

    @Column(name="fc_scale")
    @ExcelProperty("母基金参与规模")
    private String scale;


    @Column(name="fc_investment_direction")
    @ExcelProperty("主要投资方向")
    private String investmentDirection;

    @Column(name="fc_partner_information")
    @ExcelProperty("合伙人信息")
    private String partnerInformation;

    @Column(name="fc_fee_reward")
    @ExcelProperty("费用与业绩报酬")
    private String feeReward;

    @Id
    @Column(name="fd_date")
    private Date date;

    public String getMasterFundname() {
        return masterFundname;
    }

    public void setMasterFundname(String masterFundname) {
        this.masterFundname = masterFundname;
    }

    public String getSubFundname() {
        return subFundname;
    }

    public void setSubFundname(String subFundname) {
        this.subFundname = subFundname;
    }

    public String getSubFundtype() {
        return subFundtype;
    }

    public void setSubFundtype(String subFundtype) {
        this.subFundtype = subFundtype;
    }

    public void setRecordDate(String recordDate) {
        this.recordDate = recordDate;
    }

    public String getRecordDate() {
        return recordDate;
    }

    public void setSubscription(String subscription) {
        this.subscription = subscription;
    }

    public String getSubscription() {
        return subscription;
    }

    public void setPaidIn(String paidIn) {
        this.paidIn = paidIn;
    }

    public String getPaidIn() {
        return paidIn;
    }

    public void setScale(String scale) {
        this.scale = scale;
    }

    public String getScale() {
        return scale;
    }

    public void setInvestmentDirection(String investmentDirection) {
        this.investmentDirection = investmentDirection;
    }

    public String getInvestmentDirection() {
        return investmentDirection;
    }

    public void setFeeReward(String feeReward) {
        this.feeReward = feeReward;
    }

    public String getFeeReward() {
        return feeReward;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Date getDate() {
        return date;
    }

    public void setPartnerInformation(String partnerInformation) {
        this.partnerInformation = partnerInformation;
    }

    public String getPartnerInformation() {
        return partnerInformation;
    }
}


